import request from '@/utils/request'

// 查询列表
export function listTaskPageData(query) {
  return request({
    url: '/aiCoze/taskPageData',
    method: 'get',
    params: query
  })
}
// 详情
export function cozeDetail(query) {
  return request({
    url: '/aiCoze/cozeDetail',
    method: 'get',
    params: query
  })
}


export function batchDelete(data) {
  return request({
    url: '/aiCoze/batchDelete/'+data,
    method: 'delete',
  })
}

// 查询列表
export function listOrder(query) {
  return request({
    url: '/order/pageData',
    method: 'get',
    params: query
  })
}

// 订单详情
export function detailOrder(data) {
  return request({
    url: '/order/detail',
    method: 'get',
    params: data
  })
}


// 双录任务操作记录接口
export function getOperateList(data) {
  return request({
    url: '/drTaskOperationRecord/pageData',
    method: 'get',
    params: data
  })
}

// 重置客户自己某个进行中的任务为初始状态
export function resetDrTask(data) {
  return request({
    url: '/app/drTaskController/resetDrTask',
    method: 'get',
    params: data
  })
}

// 手动上传录像
export function upVideoManual(data) {
  return request({
    url: '/aiCoze/upVideoManual',
    method: 'get',
    params: data
  })
}

// 手动推送商户
export function pushMdManual(data) {
  return request({
    url: '/aiCoze/pushMdManual',
    method: 'get',
    params: data
  })
}

// 编辑
export function editAiCoze(data) {
  return request({
    url: '/aiCoze/edit',
    method: 'post',
    data: data
  })
}